<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NVTX C API Reference: nvToolsExtMem.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">NVTX C API Reference<span id="projectnumber">&#160;v3</span>
   </div>
   <div id="projectbrief">NVIDIA Tools Extension Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_48b95086e7eb28d79ef283b47c5fa0c6.html">nvtx3</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">nvToolsExtMem.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment"> * SPDX-FileCopyrightText: Copyright (c) 2009-2025 NVIDIA CORPORATION &amp; AFFILIATES. All rights reserved.</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment"> * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"> *</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment"> * you may not use this file except in compliance with the License.</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment"> * You may obtain a copy of the License at</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment"> *</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment"> *</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment"> * limitations under the License.</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment"> *</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment"> * Licensed under the Apache License v2.0 with LLVM Exceptions.</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment"> * See https://nvidia.github.io/NVTX/LICENSE.txt for license information.</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment"> */</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#if defined(NVTX_AS_SYSTEM_HEADER)</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#if defined(__clang__)</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#pragma clang system_header</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#elif defined(__GNUC__) || defined(__NVCOMPILER)</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#pragma GCC system_header</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#elif defined(_MSC_VER)</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#pragma system_header</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="preprocessor">#include &quot;<a class="code" href="nv_tools_ext_8h.html">nvToolsExt.h</a>&quot;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="preprocessor">#ifndef NVTX_EXT_MODULEID_MEM</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor">#define NVTX_EXT_MODULEID_MEM 1</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="comment">/* \cond SHOW_HIDDEN</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="comment"> * \brief A compatibility ID value used in structures and initialization to</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="comment"> * identify version differences.</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="comment"> */</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="preprocessor">#ifndef NVTX_EXT_COMPATID_MEM</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="preprocessor">#define NVTX_EXT_COMPATID_MEM 0x0102</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="comment">/* \endcond</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span><span class="comment"> */</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="preprocessor">#ifndef NVTX_MEM_CONTENTS_V1</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="preprocessor">#define NVTX_MEM_CONTENTS_V1</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="comment">/* \cond SHOW_HIDDEN</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="comment"> * \brief This value is returned by functions that return `nvtxMemHeapHandle_t`,</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span><span class="comment"> * if a tool is not attached.</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span><span class="comment"> */</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span><span class="preprocessor">#define NVTX_MEM_HEAP_HANDLE_NO_TOOL (NVTX_STATIC_CAST(nvtxMemHeapHandle_t, NVTX_STATIC_CAST(intptr_t, -1)))</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span><span class="comment">/* \endcond</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span><span class="comment"> */</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span><span class="comment">/* \cond SHOW_HIDDEN</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span><span class="comment"> * \brief This value is returned by functions that return `nvtxMemRegionHandle_t`</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span><span class="comment"> * if a tool is not attached.</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span><span class="comment"> */</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span><span class="preprocessor">#define NVTX_MEM_REGION_HANDLE_NO_TOOL (NVTX_STATIC_CAST(nvtxMemRegionHandle_t, NVTX_STATIC_CAST(intptr_t, -1)))</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span><span class="comment">/* \endcond</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span><span class="comment"> */</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span><span class="comment">/* \cond SHOW_HIDDEN</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span><span class="comment"> * \brief This value is returned by functions that return `nvtxMemPermissionsHandle_t`</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span><span class="comment"> * if a tool is not attached.</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span><span class="comment"> */</span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_HANDLE_NO_TOOL (NVTX_STATIC_CAST(nvtxMemPermissionsHandle_t, -1))</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span><span class="comment">/* \endcond</span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span><span class="comment"> */</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span><span class="comment">/* \cond SHOW_HIDDEN</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span><span class="comment"> * \brief This should not be used and is considered an error but defined to</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span><span class="comment"> * detect an accidental use of zero or NULL.</span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span><span class="comment"> */</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span><span class="preprocessor">#define NVTX_MEM_HEAP_USAGE_UNKNOWN 0x0</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span><span class="comment">/* \endcond</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span><span class="comment"> */</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span><span class="comment">/* \cond SHOW_HIDDEN</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span><span class="comment"> * \brief This should not be used and is considered an error but defined to</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span><span class="comment"> * detect an accidental use of zero or NULL.</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span><span class="comment"> */</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span><span class="preprocessor">#define NVTX_MEM_TYPE_UNKNOWN 0x0</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span><span class="comment">/* \endcond</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span><span class="comment"> */</span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span><span class="comment">/*  ------------------------------------------------------------------------- */</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga1abeb15def646b97b7df002f48c77131">  110</a></span><span class="preprocessor">#define NVTX_MEM_HEAP_HANDLE_PROCESS_WIDE (NVTX_STATIC_CAST(nvtxMemHeapHandle_t, 0))</span></div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span> </div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gabfc4a973ce7aae0f6bc85758491dffb2">  117</a></span><span class="preprocessor">#define NVTX_MEM_HEAP_USAGE_TYPE_SUB_ALLOCATOR 0x1</span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gac61e78dbf1f2c0041d339d218593e6b6">  134</a></span><span class="preprocessor">#define NVTX_MEM_HEAP_USAGE_TYPE_LAYOUT 0x2</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gac19a1d873ae0892b29100597a31d1255">  147</a></span><span class="preprocessor">#define NVTX_MEM_TYPE_VIRTUAL_ADDRESS 0x1</span></div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span> </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga529a4119f1d3993b26475d561dfffb8d">  156</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_HANDLE_PROCESS_WIDE (NVTX_STATIC_CAST(nvtxMemPermissionsHandle_t, 0))</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_CREATE_FLAGS_NONE 0x0</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_CREATE_FLAGS_EXCLUDE_GLOBAL_READ 0x1</span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_CREATE_FLAGS_EXCLUDE_GLOBAL_WRITE 0x2</span></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_CREATE_FLAGS_EXCLUDE_GLOBAL_ATOMIC 0x4</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span> </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span><span class="comment">/* \cond SHOW_HIDDEN</span></div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span><span class="comment"> * \brief Forward declaration of opaque memory heap structure.</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span><span class="comment"> */</span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span><span class="keyword">struct </span>nvtxMemHeap_v1;</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxMemHeap_v1 nvtxMemHeap_t;</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span><span class="comment">/* \endcond</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span><span class="comment"> */</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span> </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga7fc8355410f6b30baebc184d29fa21f4">  173</a></span><span class="keyword">typedef</span> nvtxMemHeap_t* <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga7fc8355410f6b30baebc184d29fa21f4">nvtxMemHeapHandle_t</a>;</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span> </div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span><span class="comment">/* \cond SHOW_HIDDEN</span></div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span><span class="comment"> * \brief Forward declaration of opaque memory heap structure.</span></div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span><span class="comment"> */</span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span><span class="keyword">struct </span>nvtxMemRegion_v1;</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxMemRegion_v1 nvtxMemRegion_t;</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span><span class="comment">/* \endcond</span></div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span><span class="comment"> */</span></div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span> </div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gabc058b02998bde14517ea665f62495e0">  184</a></span><span class="keyword">typedef</span> nvtxMemRegion_t* <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#gabc058b02998bde14517ea665f62495e0">nvtxMemRegionHandle_t</a>;</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span> </div>
<div class="foldopen" id="foldopen00189" data-start="{" data-end="};">
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="unionnvtx_mem_region_ref__t.html">  189</a></span><span class="keyword">typedef</span> <span class="keyword">union </span><a class="code hl_union" href="unionnvtx_mem_region_ref__t.html">nvtxMemRegionRef_t</a></div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span>{</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>    <span class="keywordtype">void</span> <span class="keyword">const</span>* pointer;</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span>    <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#gabc058b02998bde14517ea665f62495e0">nvtxMemRegionHandle_t</a> handle;</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span>} <a class="code hl_union" href="unionnvtx_mem_region_ref__t.html">nvtxMemRegionRef_t</a>;</div>
</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span> </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span><span class="comment">/* \cond SHOW_HIDDEN</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span><span class="comment"> * \brief Forward declaration of opaque memory permissions structure</span></div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span><span class="comment"> */</span></div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span><span class="keyword">struct </span>nvtxMemPermissions_v1;</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxMemPermissions_v1 nvtxMemPermissions_t;</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span><span class="comment">/* \endcond</span></div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span><span class="comment"> */</span></div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span> </div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga421ec4c6d96c342008aa3d04906643f0">  204</a></span><span class="keyword">typedef</span> nvtxMemPermissions_t* <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga421ec4c6d96c342008aa3d04906643f0">nvtxMemPermissionsHandle_t</a>;</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span> </div>
<div class="foldopen" id="foldopen00207" data-start="{" data-end="};">
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"><a class="line" href="structnvtx_mem_virtual_range_desc__v1.html">  207</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structnvtx_mem_virtual_range_desc__v1.html">nvtxMemVirtualRangeDesc_v1</a></div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span>{</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span>    <span class="keywordtype">size_t</span>  size;</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span>    <span class="keywordtype">void</span> <span class="keyword">const</span>*  ptr;</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span>} <a class="code hl_struct" href="structnvtx_mem_virtual_range_desc__v1.html">nvtxMemVirtualRangeDesc_v1</a> ;</div>
</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span><span class="keyword">typedef</span> <a class="code hl_struct" href="structnvtx_mem_virtual_range_desc__v1.html">nvtxMemVirtualRangeDesc_v1</a> <a class="code hl_struct" href="structnvtx_mem_virtual_range_desc__v1.html">nvtxMemVirtualRangeDesc_t</a>;</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span> </div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span> </div>
<div class="foldopen" id="foldopen00216" data-start="{" data-end="};">
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"><a class="line" href="structnvtx_mem_heap_desc__v1.html">  216</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structnvtx_mem_heap_desc__v1.html">nvtxMemHeapDesc_v1</a></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span>{</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span>    uint16_t extCompatID; <span class="comment">/* Set to NVTX_EXT_COMPATID_MEM */</span></div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span>    uint16_t structSize; <span class="comment">/* Size of the structure. */</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span>    uint32_t reserved0;</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno">  221</span> </div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"><a class="line" href="structnvtx_mem_heap_desc__v1.html#ace1b78eba0d1733c52f3783fd72b9474">  231</a></span>    uint32_t <a class="code hl_variable" href="structnvtx_mem_heap_desc__v1.html#ace1b78eba0d1733c52f3783fd72b9474">usage</a>;</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span> </div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"><a class="line" href="structnvtx_mem_heap_desc__v1.html#a000cf395f18b65e398b80cee8987b74c">  250</a></span>    uint32_t <a class="code hl_variable" href="structnvtx_mem_heap_desc__v1.html#a000cf395f18b65e398b80cee8987b74c">type</a>;</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span> </div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"><a class="line" href="structnvtx_mem_heap_desc__v1.html#aff660e4ce3a6c55069d6644f9754ac2e">  256</a></span>    <span class="keywordtype">size_t</span> <a class="code hl_variable" href="structnvtx_mem_heap_desc__v1.html#aff660e4ce3a6c55069d6644f9754ac2e">typeSpecificDescSize</a>;</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span> </div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"><a class="line" href="structnvtx_mem_heap_desc__v1.html#ac020e353d7840e5c7fe0c53965beb3ad">  267</a></span>    <span class="keywordtype">void</span> <span class="keyword">const</span>* <a class="code hl_variable" href="structnvtx_mem_heap_desc__v1.html#ac020e353d7840e5c7fe0c53965beb3ad">typeSpecificDesc</a>;</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span> </div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"><a class="line" href="structnvtx_mem_heap_desc__v1.html#a0fe52467a6fef48105632433cac12fa9">  279</a></span>    uint32_t <a class="code hl_variable" href="structnvtx_mem_heap_desc__v1.html#a0fe52467a6fef48105632433cac12fa9">category</a>;</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span> </div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"><a class="line" href="structnvtx_mem_heap_desc__v1.html#ab6fc2c152e78099ddbf86746502b7f5c">  288</a></span>    uint32_t <a class="code hl_variable" href="structnvtx_mem_heap_desc__v1.html#ab6fc2c152e78099ddbf86746502b7f5c">messageType</a>;            <span class="comment">/* nvtxMessageType_t */</span></div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno">  289</span> </div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"><a class="line" href="structnvtx_mem_heap_desc__v1.html#ad12fa13f5c26f2373e37c0d81a84ed5a">  294</a></span>    <a class="code hl_union" href="unionnvtx_message_value__t.html">nvtxMessageValue_t</a> <a class="code hl_variable" href="structnvtx_mem_heap_desc__v1.html#ad12fa13f5c26f2373e37c0d81a84ed5a">message</a>;</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno">  295</span> </div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span>} <a class="code hl_struct" href="structnvtx_mem_heap_desc__v1.html">nvtxMemHeapDesc_v1</a> ;</div>
</div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno">  297</span><span class="keyword">typedef</span> <a class="code hl_struct" href="structnvtx_mem_heap_desc__v1.html">nvtxMemHeapDesc_v1</a> <a class="code hl_struct" href="structnvtx_mem_heap_desc__v1.html">nvtxMemHeapDesc_t</a>;</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span> </div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga6c059f5891bb02717a7453947b6a459a">  312</a></span>NVTX_DECLSPEC <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga7fc8355410f6b30baebc184d29fa21f4">nvtxMemHeapHandle_t</a> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#ga6c059f5891bb02717a7453947b6a459a">nvtxMemHeapRegister</a>(</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno">  313</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno">  314</span>    <a class="code hl_struct" href="structnvtx_mem_heap_desc__v1.html">nvtxMemHeapDesc_t</a> <span class="keyword">const</span>* desc);</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno">  315</span> </div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gaaffa94cc4bbb746abdcb80cc8152122b">  317</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#gaaffa94cc4bbb746abdcb80cc8152122b">nvtxMemHeapUnregister</a>(</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span>    <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga7fc8355410f6b30baebc184d29fa21f4">nvtxMemHeapHandle_t</a> heap);<span class="comment">/* NVTX_MEM_HEAP_HANDLE_PROCESS_WIDE is not supported */</span></div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno">  320</span> </div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga38b92bad53d38a16b27efc9b36dc4594">  326</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#ga38b92bad53d38a16b27efc9b36dc4594">nvtxMemHeapReset</a>(</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno">  327</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno">  328</span>    <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga7fc8355410f6b30baebc184d29fa21f4">nvtxMemHeapHandle_t</a> heap); <span class="comment">/* NVTX_MEM_HEAP_HANDLE_PROCESS_WIDE is supported */</span></div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno">  329</span> </div>
<div class="foldopen" id="foldopen00348" data-start="{" data-end="};">
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"><a class="line" href="structnvtx_mem_regions_register_batch__v1.html">  348</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structnvtx_mem_regions_register_batch__v1.html">nvtxMemRegionsRegisterBatch_v1</a></div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno">  349</span>{</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno">  350</span>    uint16_t extCompatID; <span class="comment">/* Set to NVTX_EXT_COMPATID_MEM */</span></div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno">  351</span>    uint16_t structSize; <span class="comment">/* Size of the structure. */</span></div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno">  352</span> </div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno">  353</span>    uint32_t regionType; <span class="comment">/* NVTX_MEM_TYPE_* */</span></div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno">  354</span> </div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno">  355</span>    <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga7fc8355410f6b30baebc184d29fa21f4">nvtxMemHeapHandle_t</a> heap;</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno">  356</span> </div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno">  357</span>    <span class="keywordtype">size_t</span> regionCount;</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno">  358</span>    <span class="keywordtype">size_t</span> regionDescElementSize;</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno">  359</span>    <span class="keywordtype">void</span> <span class="keyword">const</span>* regionDescElements; <span class="comment">/* This will also become the handle for this region. */</span></div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno">  360</span>    <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#gabc058b02998bde14517ea665f62495e0">nvtxMemRegionHandle_t</a>* regionHandleElementsOut; <span class="comment">/* This will also become the handle for this region. */</span></div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno">  361</span> </div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno">  362</span>} <a class="code hl_struct" href="structnvtx_mem_regions_register_batch__v1.html">nvtxMemRegionsRegisterBatch_v1</a>;</div>
</div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno">  363</span><span class="keyword">typedef</span> <a class="code hl_struct" href="structnvtx_mem_regions_register_batch__v1.html">nvtxMemRegionsRegisterBatch_v1</a> <a class="code hl_struct" href="structnvtx_mem_regions_register_batch__v1.html">nvtxMemRegionsRegisterBatch_t</a>;</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno">  364</span> </div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga266c4042ae7bb9d0cb1412d8e43c94dd">  367</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#ga266c4042ae7bb9d0cb1412d8e43c94dd">nvtxMemRegionsRegister</a>(</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno">  368</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span>    <a class="code hl_struct" href="structnvtx_mem_regions_register_batch__v1.html">nvtxMemRegionsRegisterBatch_t</a> <span class="keyword">const</span>* desc);</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span> </div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span> </div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span> </div>
<div class="foldopen" id="foldopen00390" data-start="{" data-end="};">
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"><a class="line" href="structnvtx_mem_regions_resize_batch__v1.html">  390</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structnvtx_mem_regions_resize_batch__v1.html">nvtxMemRegionsResizeBatch_v1</a></div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno">  391</span>{</div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno">  392</span>    uint16_t extCompatID; <span class="comment">/* Set to NVTX_EXT_COMPATID_MEM */</span></div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno">  393</span>    uint16_t structSize; <span class="comment">/* Size of the structure. */</span></div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span> </div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno">  395</span>    uint32_t regionType; <span class="comment">/* NVTX_MEM_TYPE_* */</span></div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno">  396</span> </div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno">  397</span>    <span class="keywordtype">size_t</span> regionDescCount;</div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno">  398</span>    <span class="keywordtype">size_t</span> regionDescElementSize;</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno">  399</span>    <span class="keywordtype">void</span> <span class="keyword">const</span>* regionDescElements; <span class="comment">/* This will also become the handle for this region. */</span></div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno">  400</span> </div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno">  401</span>} <a class="code hl_struct" href="structnvtx_mem_regions_resize_batch__v1.html">nvtxMemRegionsResizeBatch_v1</a>;</div>
</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno">  402</span><span class="keyword">typedef</span> <a class="code hl_struct" href="structnvtx_mem_regions_resize_batch__v1.html">nvtxMemRegionsResizeBatch_v1</a> <a class="code hl_struct" href="structnvtx_mem_regions_resize_batch__v1.html">nvtxMemRegionsResizeBatch_t</a>;</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno">  403</span> </div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga1a2b1ed502847e16838b81904bf7aa34">  406</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#ga1a2b1ed502847e16838b81904bf7aa34">nvtxMemRegionsResize</a>(</div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno">  407</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno">  408</span>    <a class="code hl_struct" href="structnvtx_mem_regions_resize_batch__v1.html">nvtxMemRegionsResizeBatch_t</a> <span class="keyword">const</span>* desc);</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno">  409</span> </div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span> </div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span><span class="preprocessor">#define NVTX_MEM_REGION_REF_TYPE_UNKNOWN 0x0</span></div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno">  412</span><span class="preprocessor">#define NVTX_MEM_REGION_REF_TYPE_POINTER 0x1</span></div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno">  413</span><span class="preprocessor">#define NVTX_MEM_REGION_REF_TYPE_HANDLE 0x2</span></div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno">  414</span> </div>
<div class="foldopen" id="foldopen00433" data-start="{" data-end="};">
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"><a class="line" href="structnvtx_mem_regions_unregister_batch__v1.html">  433</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structnvtx_mem_regions_unregister_batch__v1.html">nvtxMemRegionsUnregisterBatch_v1</a></div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno">  434</span>{</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno">  435</span>    uint16_t extCompatID; <span class="comment">/* Set to NVTX_EXT_COMPATID_MEM */</span></div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno">  436</span>    uint16_t structSize; <span class="comment">/* Size of the structure. */</span></div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno">  437</span> </div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno">  438</span>    uint32_t refType; <span class="comment">/* NVTX_MEM_REGION_REF_TYPE_* */</span></div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno">  439</span> </div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno">  440</span>    <span class="keywordtype">size_t</span> refCount; <span class="comment">/* count of elements in refArray */</span></div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno">  441</span>    <span class="keywordtype">size_t</span> refElementSize;</div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno">  442</span>    <a class="code hl_union" href="unionnvtx_mem_region_ref__t.html">nvtxMemRegionRef_t</a> <span class="keyword">const</span>* refElements; <span class="comment">/* This will also become the handle for this region. */</span></div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno">  443</span> </div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno">  444</span>} <a class="code hl_struct" href="structnvtx_mem_regions_unregister_batch__v1.html">nvtxMemRegionsUnregisterBatch_v1</a>;</div>
</div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno">  445</span><span class="keyword">typedef</span> <a class="code hl_struct" href="structnvtx_mem_regions_unregister_batch__v1.html">nvtxMemRegionsUnregisterBatch_v1</a> <a class="code hl_struct" href="structnvtx_mem_regions_unregister_batch__v1.html">nvtxMemRegionsUnregisterBatch_t</a>;</div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno">  446</span> </div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga040347db8e2035482a74bcdf5ee25bb0">  453</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#ga040347db8e2035482a74bcdf5ee25bb0">nvtxMemRegionsUnregister</a>(</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span>    <a class="code hl_struct" href="structnvtx_mem_regions_unregister_batch__v1.html">nvtxMemRegionsUnregisterBatch_t</a> <span class="keyword">const</span>* desc);</div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno">  456</span> </div>
<div class="foldopen" id="foldopen00457" data-start="{" data-end="};">
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"><a class="line" href="structnvtx_mem_region_name_desc__v1.html">  457</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structnvtx_mem_region_name_desc__v1.html">nvtxMemRegionNameDesc_v1</a></div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno">  458</span>{</div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno">  459</span>    uint32_t regionRefType; <span class="comment">/* NVTX_MEM_REGION_REF_TYPE_* */</span></div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno">  460</span>    uint32_t nameType; <span class="comment">/* nvtxMessageType_t */</span></div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno">  461</span> </div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno">  462</span>    <a class="code hl_union" href="unionnvtx_mem_region_ref__t.html">nvtxMemRegionRef_t</a> region;</div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno">  463</span>    <a class="code hl_union" href="unionnvtx_message_value__t.html">nvtxMessageValue_t</a> name;</div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno">  464</span> </div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno">  465</span>    uint32_t category;</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno">  466</span>    uint32_t reserved0;</div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno">  467</span>} <a class="code hl_struct" href="structnvtx_mem_region_name_desc__v1.html">nvtxMemRegionNameDesc_v1</a>;</div>
</div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno">  468</span><span class="keyword">typedef</span> <a class="code hl_struct" href="structnvtx_mem_region_name_desc__v1.html">nvtxMemRegionNameDesc_v1</a> <a class="code hl_struct" href="structnvtx_mem_region_name_desc__v1.html">nvtxMemRegionNameDesc_t</a>;</div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno">  469</span> </div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno">  470</span> </div>
<div class="foldopen" id="foldopen00471" data-start="{" data-end="};">
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"><a class="line" href="structnvtx_mem_regions_name_batch__v1.html">  471</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structnvtx_mem_regions_name_batch__v1.html">nvtxMemRegionsNameBatch_v1</a></div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span>{</div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno">  473</span>    uint16_t extCompatID; <span class="comment">/* Set to NVTX_EXT_COMPATID_MEM */</span></div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno">  474</span>    uint16_t structSize; <span class="comment">/* Size of the structure. */</span></div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno">  475</span> </div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno">  476</span>    uint32_t reserved0;</div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno">  477</span> </div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno">  478</span>    <span class="keywordtype">size_t</span> regionCount;</div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno">  479</span>    <span class="keywordtype">size_t</span> regionElementSize;</div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno">  480</span>    <a class="code hl_struct" href="structnvtx_mem_region_name_desc__v1.html">nvtxMemRegionNameDesc_t</a> <span class="keyword">const</span>* regionElements;</div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno">  481</span>    <span class="keywordtype">size_t</span> reserved1;</div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno">  482</span>} <a class="code hl_struct" href="structnvtx_mem_regions_name_batch__v1.html">nvtxMemRegionsNameBatch_v1</a> ;</div>
</div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno">  483</span><span class="keyword">typedef</span> <a class="code hl_struct" href="structnvtx_mem_regions_name_batch__v1.html">nvtxMemRegionsNameBatch_v1</a> <a class="code hl_struct" href="structnvtx_mem_regions_name_batch__v1.html">nvtxMemRegionsNameBatch_t</a>;</div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno">  484</span> </div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno">  485</span> </div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gab84b9d1a9806c804a346484305e05ec3">  487</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#gab84b9d1a9806c804a346484305e05ec3">nvtxMemRegionsName</a>(</div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno">  488</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno">  489</span>    <a class="code hl_struct" href="structnvtx_mem_regions_name_batch__v1.html">nvtxMemRegionsNameBatch_t</a> <span class="keyword">const</span>* desc);</div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno">  490</span> </div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga7044cd91b86ad1df236cebbeb60f145a">  492</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_REGION_FLAGS_NONE 0x0</span></div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno">  493</span> </div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga8179ca8c39916932114f24bd8f212368">  495</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_REGION_FLAGS_READ 0x1</span></div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno">  496</span> </div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga7fbc2145e4b3e4065b430302264beef3">  498</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_REGION_FLAGS_WRITE 0x2</span></div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno">  499</span> </div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga45057347a87905989c781bfe5ff58740">  501</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_REGION_FLAGS_ATOMIC 0x4</span></div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno">  502</span> </div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga9cd2b522932416c8b526d53d9c51ecb6">  511</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_REGION_FLAGS_RESET 0x8</span></div>
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno">  512</span> </div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno">  513</span> </div>
<div class="foldopen" id="foldopen00514" data-start="{" data-end="};">
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"><a class="line" href="structnvtx_mem_permissions_assign_region_desc__v1.html">  514</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structnvtx_mem_permissions_assign_region_desc__v1.html">nvtxMemPermissionsAssignRegionDesc_v1</a></div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno">  515</span>{</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno">  516</span>    uint32_t flags; <span class="comment">/* NVTX_MEM_PERMISSIONS_REGION_FLAGS_* */</span></div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno">  517</span>    uint32_t regionRefType; <span class="comment">/* NVTX_MEM_REGION_REF_TYPE_* */</span></div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno">  518</span>    <a class="code hl_union" href="unionnvtx_mem_region_ref__t.html">nvtxMemRegionRef_t</a> region;</div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno">  519</span> </div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno">  520</span>} <a class="code hl_struct" href="structnvtx_mem_permissions_assign_region_desc__v1.html">nvtxMemPermissionsAssignRegionDesc_v1</a> ;</div>
</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno">  521</span><span class="keyword">typedef</span> <a class="code hl_struct" href="structnvtx_mem_permissions_assign_region_desc__v1.html">nvtxMemPermissionsAssignRegionDesc_v1</a> <a class="code hl_struct" href="structnvtx_mem_permissions_assign_region_desc__v1.html">nvtxMemPermissionsAssignRegionDesc_t</a>;</div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno">  522</span> </div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno">  523</span> </div>
<div class="foldopen" id="foldopen00524" data-start="{" data-end="};">
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"><a class="line" href="structnvtx_mem_permissions_assign_batch__v1.html">  524</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structnvtx_mem_permissions_assign_batch__v1.html">nvtxMemPermissionsAssignBatch_v1</a></div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno">  525</span>{</div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno">  526</span>    uint16_t extCompatID; <span class="comment">/* Set to NVTX_EXT_COMPATID_MEM */</span></div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno">  527</span>    uint16_t structSize; <span class="comment">/* Size of the structure. */</span></div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno">  528</span> </div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno">  529</span>    uint32_t reserved0;</div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno">  530</span> </div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno">  531</span>    <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga421ec4c6d96c342008aa3d04906643f0">nvtxMemPermissionsHandle_t</a> permissions;</div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno">  532</span> </div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno">  533</span>    <span class="keywordtype">size_t</span> regionCount;</div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno">  534</span>    <span class="keywordtype">size_t</span> regionElementSize;</div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno">  535</span>    <a class="code hl_struct" href="structnvtx_mem_permissions_assign_region_desc__v1.html">nvtxMemPermissionsAssignRegionDesc_t</a> <span class="keyword">const</span>* regionElements;</div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno">  536</span> </div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno">  537</span>    <span class="keywordtype">size_t</span> reserved1;</div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno">  538</span>} <a class="code hl_struct" href="structnvtx_mem_permissions_assign_batch__v1.html">nvtxMemPermissionsAssignBatch_v1</a> ;</div>
</div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno">  539</span><span class="keyword">typedef</span> <a class="code hl_struct" href="structnvtx_mem_permissions_assign_batch__v1.html">nvtxMemPermissionsAssignBatch_v1</a> <a class="code hl_struct" href="structnvtx_mem_permissions_assign_batch__v1.html">nvtxMemPermissionsAssignBatch_t</a>;</div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno">  540</span> </div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno">  541</span> </div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gad860d7160178c8304d4e5e5c1576ec20">  543</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#gad860d7160178c8304d4e5e5c1576ec20">nvtxMemPermissionsAssign</a>(</div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno">  544</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno">  545</span>    <a class="code hl_struct" href="structnvtx_mem_permissions_assign_batch__v1.html">nvtxMemPermissionsAssignBatch_t</a> <span class="keyword">const</span>* desc);</div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno">  546</span> </div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno">  547</span> </div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga1f855ed95bf9473f6e53d1faf1fc247e">  569</a></span>NVTX_DECLSPEC <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga421ec4c6d96c342008aa3d04906643f0">nvtxMemPermissionsHandle_t</a> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#ga1f855ed95bf9473f6e53d1faf1fc247e">nvtxMemPermissionsCreate</a>(</div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno">  570</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno">  571</span>    int32_t creationflags); <span class="comment">/* NVTX_MEM_PERMISSIONS_CREATE_FLAGS_* */</span></div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno">  572</span> </div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga7494b21c8738c23941222432134e35d3">  578</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#ga7494b21c8738c23941222432134e35d3">nvtxMemPermissionsDestroy</a>(</div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno">  579</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno">  580</span>    <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga421ec4c6d96c342008aa3d04906643f0">nvtxMemPermissionsHandle_t</a> permissionsHandle); <span class="comment">/* only supported on objects from nvtxMemPermissionsCreate */</span></div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno">  581</span> </div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gaaf397b686b8a407f4095897a891d4114">  583</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#gaaf397b686b8a407f4095897a891d4114">nvtxMemPermissionsReset</a>(</div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno">  584</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno">  585</span>    <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga421ec4c6d96c342008aa3d04906643f0">nvtxMemPermissionsHandle_t</a> permissionsHandle);</div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno">  586</span><span class="comment">/* NVTX_MEM_PERMISSIONS_HANDLE_PROCESS_WIDE and other special handles are supported */</span></div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno">  587</span> </div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno">  588</span> </div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno">  589</span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_BIND_FLAGS_NONE 0x0</span></div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno">  590</span> </div>
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gafc19b9b4a2a897e419b1f3dce50b34a8">  596</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_BIND_FLAGS_STRICT_WRITE 0x2</span></div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno">  597</span> </div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga160040e9f3eae923985ca853a8c8b121">  603</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_BIND_FLAGS_STRICT_READ 0x1</span></div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno">  604</span> </div>
<div class="line"><a id="l00612" name="l00612"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gab37b7d7751e95a681f5faa793e8167e9">  612</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_BIND_FLAGS_STRICT_ATOMIC 0x4</span></div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno">  613</span> </div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno">  614</span> </div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno">  615</span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_BIND_SCOPE_UNKNOWN 0x0</span></div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno">  616</span> </div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gaf34edbf4ff61c7e8ab4d0a6da9153636">  624</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_BIND_SCOPE_CPU_THREAD 0x1</span></div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno">  625</span> </div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gaa2f9d2a62337fac1f9c1b753da2e3977">  644</a></span><span class="preprocessor">#define NVTX_MEM_PERMISSIONS_BIND_SCOPE_CUDA_STREAM 0x2</span></div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno">  645</span> </div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno">  646</span> </div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#ga590cf0b684dee2f60df844163b48efe9">  671</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#ga590cf0b684dee2f60df844163b48efe9">nvtxMemPermissionsBind</a>(</div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno">  672</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno">  673</span>    <a class="code hl_typedef" href="group___m_e_m_o_r_y.html#ga421ec4c6d96c342008aa3d04906643f0">nvtxMemPermissionsHandle_t</a> permissions, <span class="comment">/* special object like NVTX_MEM_PERMISSIONS_HANDLE_PROCESS_WIDE are not supported */</span></div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno">  674</span>    uint32_t bindScope, <span class="comment">/* NVTX_MEM_PERMISSIONS_BIND_SCOPE_* */</span></div>
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno">  675</span>    uint32_t bindFlags); <span class="comment">/* NVTX_MEM_PERMISSIONS_BIND_FLAGS_* */</span></div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno">  676</span> </div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"><a class="line" href="group___m_e_m_o_r_y.html#gad89c5d699ca976a617511ba3cf7f2fdc">  683</a></span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API <a class="code hl_function" href="group___m_e_m_o_r_y.html#gad89c5d699ca976a617511ba3cf7f2fdc">nvtxMemPermissionsUnbind</a>(</div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno">  684</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno">  685</span>    uint32_t bindScope);</div>
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno">  686</span> </div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno">  689</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_MEM_CONTENTS_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno">  690</span> </div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno">  691</span><span class="preprocessor">#ifndef NVTX_MEM_CALLBACK_ID_V1</span></div>
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno">  692</span><span class="preprocessor">#define NVTX_MEM_CALLBACK_ID_V1</span></div>
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno">  693</span> </div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno">  694</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemHeapRegister                  0</span></div>
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno">  695</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemHeapUnregister                1</span></div>
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno">  696</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemHeapReset                     2</span></div>
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno">  697</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemRegionsRegister               3</span></div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno">  698</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemRegionsResize                 4</span></div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno">  699</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemRegionsUnregister             5</span></div>
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno">  700</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemRegionsName                   6</span></div>
<div class="line"><a id="l00701" name="l00701"></a><span class="lineno">  701</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemPermissionsAssign             7</span></div>
<div class="line"><a id="l00702" name="l00702"></a><span class="lineno">  702</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemPermissionsCreate             8</span></div>
<div class="line"><a id="l00703" name="l00703"></a><span class="lineno">  703</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemPermissionsDestroy            9</span></div>
<div class="line"><a id="l00704" name="l00704"></a><span class="lineno">  704</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemPermissionsReset              10</span></div>
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno">  705</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemPermissionsBind               11</span></div>
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno">  706</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemPermissionsUnbind             12</span></div>
<div class="line"><a id="l00707" name="l00707"></a><span class="lineno">  707</span> </div>
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno">  708</span><span class="comment">/* 13-16 in nvtxExtImplMemCudaRt_v1.h */</span></div>
<div class="line"><a id="l00709" name="l00709"></a><span class="lineno">  709</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemCudaGetProcessWidePermissions 13</span></div>
<div class="line"><a id="l00710" name="l00710"></a><span class="lineno">  710</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemCudaGetDeviceWidePermissions  14</span></div>
<div class="line"><a id="l00711" name="l00711"></a><span class="lineno">  711</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemCudaSetPeerAccess             15</span></div>
<div class="line"><a id="l00712" name="l00712"></a><span class="lineno">  712</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMemCudaMarkInitialized           16</span></div>
<div class="line"><a id="l00713" name="l00713"></a><span class="lineno">  713</span> </div>
<div class="line"><a id="l00714" name="l00714"></a><span class="lineno">  714</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_MEM_CALLBACK_ID_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno">  715</span> </div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno">  716</span><span class="comment">/* Macros to create versioned symbols. */</span></div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno">  717</span><span class="preprocessor">#ifndef NVTX_EXT_MEM_VERSIONED_IDENTIFIERS_V1</span></div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno">  718</span><span class="preprocessor">#define NVTX_EXT_MEM_VERSIONED_IDENTIFIERS_V1</span></div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno">  719</span><span class="preprocessor">#define NVTX_EXT_MEM_VERSIONED_IDENTIFIER_L3(NAME, VERSION, COMPATID) \</span></div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno">  720</span><span class="preprocessor">    NAME##_v##VERSION##_mem##COMPATID</span></div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno">  721</span><span class="preprocessor">#define NVTX_EXT_MEM_VERSIONED_IDENTIFIER_L2(NAME, VERSION, COMPATID) \</span></div>
<div class="line"><a id="l00722" name="l00722"></a><span class="lineno">  722</span><span class="preprocessor">    NVTX_EXT_MEM_VERSIONED_IDENTIFIER_L3(NAME, VERSION, COMPATID)</span></div>
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno">  723</span><span class="preprocessor">#define NVTX_EXT_MEM_VERSIONED_ID(NAME) \</span></div>
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno">  724</span><span class="preprocessor">    NVTX_EXT_MEM_VERSIONED_IDENTIFIER_L2(NAME, NVTX_VERSION, NVTX_EXT_COMPATID_MEM)</span></div>
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno">  725</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_EXT_MEM_VERSIONED_IDENTIFIERS_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00726" name="l00726"></a><span class="lineno">  726</span> </div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno">  727</span><span class="preprocessor">#ifdef __GNUC__</span></div>
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno">  728</span><span class="preprocessor">#pragma GCC visibility push(internal)</span></div>
<div class="line"><a id="l00729" name="l00729"></a><span class="lineno">  729</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00730" name="l00730"></a><span class="lineno">  730</span> </div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno">  731</span><span class="comment">/* Extension types are required for the implementation and the NVTX handler. */</span></div>
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno">  732</span><span class="preprocessor">#define NVTX_EXT_TYPES_GUARD </span><span class="comment">/* Ensure other headers cannot be included directly */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno">  733</span><span class="preprocessor">#include &quot;nvtxDetail/nvtxExtTypes.h&quot;</span></div>
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno">  734</span><span class="preprocessor">#undef NVTX_EXT_TYPES_GUARD</span></div>
<div class="line"><a id="l00735" name="l00735"></a><span class="lineno">  735</span> </div>
<div class="line"><a id="l00736" name="l00736"></a><span class="lineno">  736</span><span class="preprocessor">#ifndef NVTX_NO_IMPL</span></div>
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno">  737</span><span class="comment">/* Ensure other headers cannot be included directly */</span></div>
<div class="line"><a id="l00738" name="l00738"></a><span class="lineno">  738</span><span class="preprocessor">#define NVTX_EXT_IMPL_MEM_GUARD</span></div>
<div class="line"><a id="l00739" name="l00739"></a><span class="lineno">  739</span><span class="preprocessor">#include &quot;nvtxDetail/nvtxExtImplMem_v1.h&quot;</span></div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno">  740</span><span class="preprocessor">#undef NVTX_EXT_IMPL_MEM_GUARD</span></div>
<div class="line"><a id="l00741" name="l00741"></a><span class="lineno">  741</span><span class="preprocessor">#endif </span><span class="comment">/*NVTX_NO_IMPL*/</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00742" name="l00742"></a><span class="lineno">  742</span> </div>
<div class="line"><a id="l00743" name="l00743"></a><span class="lineno">  743</span><span class="preprocessor">#ifdef __GNUC__</span></div>
<div class="line"><a id="l00744" name="l00744"></a><span class="lineno">  744</span><span class="preprocessor">#pragma GCC visibility pop</span></div>
<div class="line"><a id="l00745" name="l00745"></a><span class="lineno">  745</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno">  746</span> </div>
<div class="line"><a id="l00747" name="l00747"></a><span class="lineno">  747</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00748" name="l00748"></a><span class="lineno">  748</span>}</div>
<div class="line"><a id="l00749" name="l00749"></a><span class="lineno">  749</span><span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span><span class="preprocessor"></span></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_ga040347db8e2035482a74bcdf5ee25bb0"><div class="ttname"><a href="group___m_e_m_o_r_y.html#ga040347db8e2035482a74bcdf5ee25bb0">nvtxMemRegionsUnregister</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemRegionsUnregister(nvtxDomainHandle_t domain, nvtxMemRegionsUnregisterBatch_t const *desc)</div><div class="ttdoc">Unregistration for regions of process virtual memory.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_ga1a2b1ed502847e16838b81904bf7aa34"><div class="ttname"><a href="group___m_e_m_o_r_y.html#ga1a2b1ed502847e16838b81904bf7aa34">nvtxMemRegionsResize</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemRegionsResize(nvtxDomainHandle_t domain, nvtxMemRegionsResizeBatch_t const *desc)</div><div class="ttdoc">Register a region of memory inside of a heap of linear process virtual memory.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_ga1f855ed95bf9473f6e53d1faf1fc247e"><div class="ttname"><a href="group___m_e_m_o_r_y.html#ga1f855ed95bf9473f6e53d1faf1fc247e">nvtxMemPermissionsCreate</a></div><div class="ttdeci">NVTX_DECLSPEC nvtxMemPermissionsHandle_t NVTX_API nvtxMemPermissionsCreate(nvtxDomainHandle_t domain, int32_t creationflags)</div><div class="ttdoc">Create a permissions object for fine grain thread-local control in multi-threading scenarios.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_ga266c4042ae7bb9d0cb1412d8e43c94dd"><div class="ttname"><a href="group___m_e_m_o_r_y.html#ga266c4042ae7bb9d0cb1412d8e43c94dd">nvtxMemRegionsRegister</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemRegionsRegister(nvtxDomainHandle_t domain, nvtxMemRegionsRegisterBatch_t const *desc)</div><div class="ttdoc">Register a region of memory inside of a heap of linear process virtual memory.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_ga38b92bad53d38a16b27efc9b36dc4594"><div class="ttname"><a href="group___m_e_m_o_r_y.html#ga38b92bad53d38a16b27efc9b36dc4594">nvtxMemHeapReset</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemHeapReset(nvtxDomainHandle_t domain, nvtxMemHeapHandle_t heap)</div><div class="ttdoc">Reset the memory heap wipes out any changes, as if it were a fresh heap.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_ga421ec4c6d96c342008aa3d04906643f0"><div class="ttname"><a href="group___m_e_m_o_r_y.html#ga421ec4c6d96c342008aa3d04906643f0">nvtxMemPermissionsHandle_t</a></div><div class="ttdeci">nvtxMemPermissions_t * nvtxMemPermissionsHandle_t</div><div class="ttdoc">A handle returned by a tool to represent a memory permissions mask.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00204">nvToolsExtMem.h:204</a></div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_ga590cf0b684dee2f60df844163b48efe9"><div class="ttname"><a href="group___m_e_m_o_r_y.html#ga590cf0b684dee2f60df844163b48efe9">nvtxMemPermissionsBind</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemPermissionsBind(nvtxDomainHandle_t domain, nvtxMemPermissionsHandle_t permissions, uint32_t bindScope, uint32_t bindFlags)</div><div class="ttdoc">Bind the permissions object into a particular scope on the caller thread.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_ga6c059f5891bb02717a7453947b6a459a"><div class="ttname"><a href="group___m_e_m_o_r_y.html#ga6c059f5891bb02717a7453947b6a459a">nvtxMemHeapRegister</a></div><div class="ttdeci">NVTX_DECLSPEC nvtxMemHeapHandle_t NVTX_API nvtxMemHeapRegister(nvtxDomainHandle_t domain, nvtxMemHeapDesc_t const *desc)</div><div class="ttdoc">Create a memory heap to represent a object or range of memory that will be further sub-divided into r...</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_ga7494b21c8738c23941222432134e35d3"><div class="ttname"><a href="group___m_e_m_o_r_y.html#ga7494b21c8738c23941222432134e35d3">nvtxMemPermissionsDestroy</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemPermissionsDestroy(nvtxDomainHandle_t domain, nvtxMemPermissionsHandle_t permissionsHandle)</div><div class="ttdoc">Destroy the permissions object.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_ga7fc8355410f6b30baebc184d29fa21f4"><div class="ttname"><a href="group___m_e_m_o_r_y.html#ga7fc8355410f6b30baebc184d29fa21f4">nvtxMemHeapHandle_t</a></div><div class="ttdeci">nvtxMemHeap_t * nvtxMemHeapHandle_t</div><div class="ttdoc">A handle returned by a tool to represent a memory heap.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00173">nvToolsExtMem.h:173</a></div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_gaaf397b686b8a407f4095897a891d4114"><div class="ttname"><a href="group___m_e_m_o_r_y.html#gaaf397b686b8a407f4095897a891d4114">nvtxMemPermissionsReset</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemPermissionsReset(nvtxDomainHandle_t domain, nvtxMemPermissionsHandle_t permissionsHandle)</div><div class="ttdoc">Reset the permissions object back to its created state.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_gaaffa94cc4bbb746abdcb80cc8152122b"><div class="ttname"><a href="group___m_e_m_o_r_y.html#gaaffa94cc4bbb746abdcb80cc8152122b">nvtxMemHeapUnregister</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemHeapUnregister(nvtxDomainHandle_t domain, nvtxMemHeapHandle_t heap)</div><div class="ttdoc">Destroy a memory heap.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_gab84b9d1a9806c804a346484305e05ec3"><div class="ttname"><a href="group___m_e_m_o_r_y.html#gab84b9d1a9806c804a346484305e05ec3">nvtxMemRegionsName</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemRegionsName(nvtxDomainHandle_t domain, nvtxMemRegionsNameBatch_t const *desc)</div><div class="ttdoc">Name or rename a region.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_gabc058b02998bde14517ea665f62495e0"><div class="ttname"><a href="group___m_e_m_o_r_y.html#gabc058b02998bde14517ea665f62495e0">nvtxMemRegionHandle_t</a></div><div class="ttdeci">nvtxMemRegion_t * nvtxMemRegionHandle_t</div><div class="ttdoc">A handle returned by a tool to represent a memory region.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00184">nvToolsExtMem.h:184</a></div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_gad860d7160178c8304d4e5e5c1576ec20"><div class="ttname"><a href="group___m_e_m_o_r_y.html#gad860d7160178c8304d4e5e5c1576ec20">nvtxMemPermissionsAssign</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemPermissionsAssign(nvtxDomainHandle_t domain, nvtxMemPermissionsAssignBatch_t const *desc)</div><div class="ttdoc">Change the permissions of a region of process virtual memory.</div></div>
<div class="ttc" id="agroup___m_e_m_o_r_y_html_gad89c5d699ca976a617511ba3cf7f2fdc"><div class="ttname"><a href="group___m_e_m_o_r_y.html#gad89c5d699ca976a617511ba3cf7f2fdc">nvtxMemPermissionsUnbind</a></div><div class="ttdeci">NVTX_DECLSPEC void NVTX_API nvtxMemPermissionsUnbind(nvtxDomainHandle_t domain, uint32_t bindScope)</div><div class="ttdoc">Unbind the permissions object bound to the caller thread.</div></div>
<div class="ttc" id="anv_tools_ext_8h_html"><div class="ttname"><a href="nv_tools_ext_8h.html">nvToolsExt.h</a></div></div>
<div class="ttc" id="astructnvtx_mem_heap_desc__v1_html"><div class="ttname"><a href="structnvtx_mem_heap_desc__v1.html">nvtxMemHeapDesc_v1</a></div><div class="ttdoc">structure to describe a heap in process virtual memory.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00216">nvToolsExtMem.h:217</a></div></div>
<div class="ttc" id="astructnvtx_mem_heap_desc__v1_html_a000cf395f18b65e398b80cee8987b74c"><div class="ttname"><a href="structnvtx_mem_heap_desc__v1.html#a000cf395f18b65e398b80cee8987b74c">nvtxMemHeapDesc_v1::type</a></div><div class="ttdeci">uint32_t type</div><div class="ttdoc">Memory type characteristics of the heap.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00250">nvToolsExtMem.h:250</a></div></div>
<div class="ttc" id="astructnvtx_mem_heap_desc__v1_html_a0fe52467a6fef48105632433cac12fa9"><div class="ttname"><a href="structnvtx_mem_heap_desc__v1.html#a0fe52467a6fef48105632433cac12fa9">nvtxMemHeapDesc_v1::category</a></div><div class="ttdeci">uint32_t category</div><div class="ttdoc">ID of the category the event is assigned to.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00279">nvToolsExtMem.h:279</a></div></div>
<div class="ttc" id="astructnvtx_mem_heap_desc__v1_html_ab6fc2c152e78099ddbf86746502b7f5c"><div class="ttname"><a href="structnvtx_mem_heap_desc__v1.html#ab6fc2c152e78099ddbf86746502b7f5c">nvtxMemHeapDesc_v1::messageType</a></div><div class="ttdeci">uint32_t messageType</div><div class="ttdoc">Message type specified in this attribute structure.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00288">nvToolsExtMem.h:288</a></div></div>
<div class="ttc" id="astructnvtx_mem_heap_desc__v1_html_ac020e353d7840e5c7fe0c53965beb3ad"><div class="ttname"><a href="structnvtx_mem_heap_desc__v1.html#ac020e353d7840e5c7fe0c53965beb3ad">nvtxMemHeapDesc_v1::typeSpecificDesc</a></div><div class="ttdeci">void const  * typeSpecificDesc</div><div class="ttdoc">Pointer to the heap memory descriptor.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00267">nvToolsExtMem.h:267</a></div></div>
<div class="ttc" id="astructnvtx_mem_heap_desc__v1_html_ace1b78eba0d1733c52f3783fd72b9474"><div class="ttname"><a href="structnvtx_mem_heap_desc__v1.html#ace1b78eba0d1733c52f3783fd72b9474">nvtxMemHeapDesc_v1::usage</a></div><div class="ttdeci">uint32_t usage</div><div class="ttdoc">Usage characteristics of the heap.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00231">nvToolsExtMem.h:231</a></div></div>
<div class="ttc" id="astructnvtx_mem_heap_desc__v1_html_ad12fa13f5c26f2373e37c0d81a84ed5a"><div class="ttname"><a href="structnvtx_mem_heap_desc__v1.html#ad12fa13f5c26f2373e37c0d81a84ed5a">nvtxMemHeapDesc_v1::message</a></div><div class="ttdeci">nvtxMessageValue_t message</div><div class="ttdoc">Message assigned to this attribute structure..</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00294">nvToolsExtMem.h:294</a></div></div>
<div class="ttc" id="astructnvtx_mem_heap_desc__v1_html_aff660e4ce3a6c55069d6644f9754ac2e"><div class="ttname"><a href="structnvtx_mem_heap_desc__v1.html#aff660e4ce3a6c55069d6644f9754ac2e">nvtxMemHeapDesc_v1::typeSpecificDescSize</a></div><div class="ttdeci">size_t typeSpecificDescSize</div><div class="ttdoc">size of the heap memory descriptor pointed to by typeSpecificDesc</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00256">nvToolsExtMem.h:256</a></div></div>
<div class="ttc" id="astructnvtx_mem_permissions_assign_batch__v1_html"><div class="ttname"><a href="structnvtx_mem_permissions_assign_batch__v1.html">nvtxMemPermissionsAssignBatch_v1</a></div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00524">nvToolsExtMem.h:525</a></div></div>
<div class="ttc" id="astructnvtx_mem_permissions_assign_region_desc__v1_html"><div class="ttname"><a href="structnvtx_mem_permissions_assign_region_desc__v1.html">nvtxMemPermissionsAssignRegionDesc_v1</a></div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00514">nvToolsExtMem.h:515</a></div></div>
<div class="ttc" id="astructnvtx_mem_region_name_desc__v1_html"><div class="ttname"><a href="structnvtx_mem_region_name_desc__v1.html">nvtxMemRegionNameDesc_v1</a></div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00457">nvToolsExtMem.h:458</a></div></div>
<div class="ttc" id="astructnvtx_mem_regions_name_batch__v1_html"><div class="ttname"><a href="structnvtx_mem_regions_name_batch__v1.html">nvtxMemRegionsNameBatch_v1</a></div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00471">nvToolsExtMem.h:472</a></div></div>
<div class="ttc" id="astructnvtx_mem_regions_register_batch__v1_html"><div class="ttname"><a href="structnvtx_mem_regions_register_batch__v1.html">nvtxMemRegionsRegisterBatch_v1</a></div><div class="ttdoc">Register a region of memory inside of a heap.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00348">nvToolsExtMem.h:349</a></div></div>
<div class="ttc" id="astructnvtx_mem_regions_resize_batch__v1_html"><div class="ttname"><a href="structnvtx_mem_regions_resize_batch__v1.html">nvtxMemRegionsResizeBatch_v1</a></div><div class="ttdoc">Register a region of memory inside of a heap.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00390">nvToolsExtMem.h:391</a></div></div>
<div class="ttc" id="astructnvtx_mem_regions_unregister_batch__v1_html"><div class="ttname"><a href="structnvtx_mem_regions_unregister_batch__v1.html">nvtxMemRegionsUnregisterBatch_v1</a></div><div class="ttdoc">Register a region of memory inside of a heap.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00433">nvToolsExtMem.h:434</a></div></div>
<div class="ttc" id="astructnvtx_mem_virtual_range_desc__v1_html"><div class="ttname"><a href="structnvtx_mem_virtual_range_desc__v1.html">nvtxMemVirtualRangeDesc_v1</a></div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00207">nvToolsExtMem.h:208</a></div></div>
<div class="ttc" id="aunionnvtx_mem_region_ref__t_html"><div class="ttname"><a href="unionnvtx_mem_region_ref__t.html">nvtxMemRegionRef_t</a></div><div class="ttdoc">A reference to a memory region (by pointer or handle). Which member of the union will be determined b...</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_mem_8h_source.html#l00189">nvToolsExtMem.h:190</a></div></div>
<div class="ttc" id="aunionnvtx_message_value__t_html"><div class="ttname"><a href="unionnvtx_message_value__t.html">nvtxMessageValue_t</a></div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_8h_source.html#l00458">nvToolsExt.h:459</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
